package data

import (
	"context"

	"{{cookiecutter.project_name}}/internal/biz"

	"github.com/go-kratos/kratos/v2/log"
)

type {{cookiecutter.project_name | capitalize }}Repo struct {
	data *Data
	log  *log.Helper
}

// New{{cookiecutter.project_name | capitalize }}Repo .
func New{{cookiecutter.project_name | capitalize }}Repo(data *Data, logger log.Logger) biz.I{{cookiecutter.project_name | capitalize }}Repo {
	return &{{cookiecutter.project_name | capitalize }}Repo{
		data: data,
		log:  log.NewHelper(logger),
	}
}

func (r *{{cookiecutter.project_name | capitalize }}Repo) Index(ctx context.Context) {
}
